const chartData = {
    dateList: [],
};

export default (state = chartData, action) => {
    if(action.type === 'setDateList'){
        chartData.dateList = action.dateList;
        return{
            dateList: state.dateList,
        }
    }
    return state;
};
